package com.ruoyi.mk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配置下行对象 mk_configuration
 * 
 * @author guan
 * @date 2021-12-09
 */
public class MkConfiguration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 终端编号 */
    private String id;

    /** 序号 */
    @Excel(name = "序号")
    private Long serialNumber;

    /** 用户序号 */
    @Excel(name = "用户序号")
    private Long userid;

    /** 记录间隔 */
    @Excel(name = "记录间隔")
    private String record;

    /** 采集间隔 */
    @Excel(name = "采集间隔")
    private String collection;

    /** 上传间隔 */
    @Excel(name = "上传间隔")
    private String upload;

    /** 下限值 */
    @Excel(name = "下限值")
    private String lowerLimit;

    /** 上传值 */
    @Excel(name = "上传值")
    private String upperLimit;

    /** 波动值 */
    @Excel(name = "波动值")
    private String wave;

    /** 下限值2 */
    @Excel(name = "下限值2")
    private String lowerLimit2;

    /** 上传值2 */
    @Excel(name = "上传值2")
    private String upperLimit2;

    /** 波动值2 */
    @Excel(name = "波动值2")
    private String wave2;

    /** IP */
    @Excel(name = "IP")
    private String ip;

    /** 端口 */
    @Excel(name = "端口")
    private String port;

    /** 清零 */
    @Excel(name = "清零")
    private Long clear;

    /** 字符串 */
    @Excel(name = "字符串")
    private String characterString;

    /** 状态 0正常 1.等待 */
    @Excel(name = "状态 0正常 1.等待")
    private Long state;

    /** 错误日志 */
    @Excel(name = "错误日志")
    private String journal;

    /** 回复报文 */
    @Excel(name = "回复报文")
    private String message;

    /** 错误信息 */
    @Excel(name = "错误信息")
    private String errorMessage;

    /** 创建者 */
    @Excel(name = "创建者")
    private String created;

    /** 修改者 */
    @Excel(name = "修改者")
    private String modify;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Long deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSerialNumber(Long serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() 
    {
        return serialNumber;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setRecord(String record) 
    {
        this.record = record;
    }

    public String getRecord() 
    {
        return record;
    }
    public void setCollection(String collection) 
    {
        this.collection = collection;
    }

    public String getCollection() 
    {
        return collection;
    }
    public void setUpload(String upload) 
    {
        this.upload = upload;
    }

    public String getUpload() 
    {
        return upload;
    }
    public void setLowerLimit(String lowerLimit) 
    {
        this.lowerLimit = lowerLimit;
    }

    public String getLowerLimit() 
    {
        return lowerLimit;
    }
    public void setUpperLimit(String upperLimit) 
    {
        this.upperLimit = upperLimit;
    }

    public String getUpperLimit() 
    {
        return upperLimit;
    }
    public void setWave(String wave) 
    {
        this.wave = wave;
    }

    public String getWave() 
    {
        return wave;
    }
    public void setLowerLimit2(String lowerLimit2) 
    {
        this.lowerLimit2 = lowerLimit2;
    }

    public String getLowerLimit2() 
    {
        return lowerLimit2;
    }
    public void setUpperLimit2(String upperLimit2) 
    {
        this.upperLimit2 = upperLimit2;
    }

    public String getUpperLimit2() 
    {
        return upperLimit2;
    }
    public void setWave2(String wave2) 
    {
        this.wave2 = wave2;
    }

    public String getWave2() 
    {
        return wave2;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }
    public void setClear(Long clear) 
    {
        this.clear = clear;
    }

    public Long getClear() 
    {
        return clear;
    }
    public void setCharacterString(String characterString) 
    {
        this.characterString = characterString;
    }

    public String getCharacterString() 
    {
        return characterString;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setJournal(String journal) 
    {
        this.journal = journal;
    }

    public String getJournal() 
    {
        return journal;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setErrorMessage(String errorMessage) 
    {
        this.errorMessage = errorMessage;
    }

    public String getErrorMessage() 
    {
        return errorMessage;
    }
    public void setCreated(String created)
    {
        this.created = created;
    }

    public String getCreated()
    {
        return created;
    }
    public void setModify(String modify) 
    {
        this.modify = modify;
    }

    public String getModify() 
    {
        return modify;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("userid", getUserid())
            .append("record", getRecord())
            .append("collection", getCollection())
            .append("upload", getUpload())
            .append("lowerLimit", getLowerLimit())
            .append("upperLimit", getUpperLimit())
            .append("wave", getWave())
            .append("lowerLimit2", getLowerLimit2())
            .append("upperLimit2", getUpperLimit2())
            .append("wave2", getWave2())
            .append("ip", getIp())
            .append("port", getPort())
            .append("clear", getClear())
            .append("characterString", getCharacterString())
            .append("state", getState())
            .append("journal", getJournal())
            .append("message", getMessage())
            .append("errorMessage", getErrorMessage())
            .append("created", getCreated())
            .append("createTime", getCreateTime())
            .append("modify", getModify())
            .append("modifyTime", getModifyTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
